//
//  QuadNode.h
//  CompGraf2
//
//  Created by Juan Niosi on 24/10/11.
//  Copyright 2011 __MyCompanyName__. All rights reserved.
//

#import "Entity.h"

@interface QuadNode : Entity
{
    int level;
}
@property (nonatomic) int level;

- (id)init:(int)lvl:(Bounds *)bounds;
- (BOOL)addEntity:(Entity *)ent atIndex:(int)idx;

- (void)optimize;
- (void)draw:(Engine *)engine:(Camera *)cam;
@end
